package 适配器模式.对象适配器;

public class ObjectAdapter implements Targetable {
    private Source source;

    public ObjectAdapter(Source source) {
        this.source = source;
    }

    public void editTextFile() {
        source.editTextFile();
    }

    public void editWordFile() {
        System.out.println("word文件编辑");
    }
}
